package org.example.trancdemo.service;

import org.example.trancdemo.mapper.UserInfoMapper;
import org.example.trancdemo.model.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserInfoService {
    @Autowired
    private UserInfoMapper userInfoMapper;
    public void registryUser(UserInfo userInfo){
        //插⼊⽤⼾信息
        userInfoMapper.insert(userInfo);
    }
}
